<table class="from_table">
	<!-- 基本信息 -->
	<tr>
		<th colspan="6" align="left" style="float:left; text-align:left">　　<tpl> $langPreBaseInfo </tpl>：</th>
	</tr>
	<tr>
		<tpl> assign var=one value=$detail_array.predeposit_type </tpl>
		<th><tpl> $langPreDetailType </tpl>：</th><td width="120"><tpl> $detail_type[$one] </tpl></td>
		<tpl> assign var=one value=$detail_array.predeposit_state </tpl>
		<th width="200"><tpl> $langPreState </tpl>：</th><td><tpl> $detail_state[$one] </tpl></td>
		<th><tpl> $langPreSearchMemberName </tpl>：</th><td><tpl> $member_array.login_name </tpl></td>
	</tr>
	<tr>
		<th><tpl> $langPreAvailableUpdate </tpl>：</th><td width="120"><tpl> if $detail_array.available_amount > 0 </tpl>+<tpl> /if </tpl><tpl> $detail_array.available_amount </tpl></td>
		<th width="200" style="width:180px"><tpl> $langPreFreezeUpdate </tpl>：</th><td><tpl> if $detail_array.freeze_amount > 0 </tpl>+<tpl> /if </tpl><tpl> $detail_array.freeze_amount </tpl></td>
		<th><tpl> $langPreMemberRemark </tpl>：</th><td><tpl> $detail_array.member_remark|default:"$langPreNothing" </tpl></td>
	</tr>
	<tr>
		<th><tpl> $langPrePayment </tpl>：</th><td width="120">
			<tpl> if $detail_array.payment eq 'offline' </tpl><!-- 线下 -->
		  		<tpl> $langPreCashTypeOffline </tpl>
			  <tpl> else </tpl>
				<tpl> if $detail_array.payment eq 'alipay' </tpl>
					<tpl> $langPreCashTypeAlipay </tpl>
				<tpl> /if </tpl>
				<tpl> if $detail_array.payment eq 'tenpay' </tpl>
					<tpl> $langPreCashTypeTenpay </tpl>
				<tpl> /if </tpl>
			  <tpl> /if </tpl>
		</td>
		<th width="200"><tpl> $langPreCashSystemRemark </tpl>：</th>
		<td colspan="2"><tpl> $detail_array.system_remark </tpl></td>
		<td></td>
	</tr>
	<!-- 基本信息结束 -->
<tpl> if $detail_array.to_member_id neq '' </tpl>
	<!-- 交易信息 -->
	<tr>
		<th colspan="6" align="left" style="float:left; text-align:left">　　<tpl> $langPreBusinessInfo </tpl>：</th>
	</tr>
	<tr>
		<th><tpl> $langPreDetailToMemberName </tpl>：</th><td width="120"><tpl> $to_member_array.login_name </tpl></td>
		<th width="200"><tpl> $langPreDetailSpcode </tpl>：</th><td colspan="2"><tpl> $detail_array.sp_code </tpl></td>
		<td></td>
	</tr>
	<!-- 交易信息结束 -->
<tpl> /if </tpl>
<tpl> if $detail_array.predeposit_r_id neq '' </tpl>
	<!-- 充值信息 -->
	<tr>
		<th colspan="6" align="left" style="float:left; text-align:left">　　<tpl> $langPrePayInfo </tpl>
	  ：</th>
	</tr>
	<tr>
	  <th><tpl> $langPrePayment </tpl>：</th><td width="120"><tpl> $record_array.payment </tpl></td>
	  <th width="200"><tpl> $langPreCashCreateTime </tpl>：</th><td><tpl> $record_array.create_time </tpl></td>
	  <tpl> assign var=one value=$record_array.record_state </tpl>
	  <th><tpl> $langPreState </tpl>：</th><td><tpl> $predeposit_record_state[$one] </tpl></td>
  </tr>
  <tpl> if $record_array.payment_type eq '1' </tpl><!-- 线下支付 -->
  <tr>
	  <th><tpl> $langPreReceptPayName </tpl>：</th><td width="120"><tpl> $record_array.pay_name </tpl></td>
	  <th width="200"><tpl> $langPreReceptPayAccount </tpl>：</th><td><tpl> $record_array.pay_account </tpl></td>
	  <th><tpl> $langPreReceptPayConsignee </tpl>：</th><td><tpl> $record_array.pay_consignee </tpl></td>
  </tr>
  <tr>
	  <th><tpl> $langPreSenderName </tpl>：</th><td width="120"><tpl> $record_array.sender_name </tpl></td>
	  <th width="200"><tpl> $langPreSenderBank </tpl>：</th><td><tpl> $record_array.sender_bank </tpl></td>
	  <th><tpl> $langPreSenderAmount </tpl>：</th><td><tpl> $record_array.sender_amount </tpl></td>
  </tr>
  <tr>
	  <th><tpl> $langPreSenderDate </tpl>：</th><td width="120"><tpl> $record_array.sender_date </tpl></td>
	  <th width="200"><tpl> $langPreSenderDate </tpl>：</th>
	  <td colspan="2"><tpl> $record_array.sender_remark </tpl></td>
	  <td></td>
  </tr>
  <tpl> /if </tpl>
  <!-- 充值信息结束 -->
<tpl> /if </tpl>	
	<tr>
		<td style="float:none; text-align:center"></td>
	    <td style="float:none; text-align:center"><span class="btn_left"><input type="button" value="<tpl> $langPreReturn </tpl>" onclick="ShowDiv='result_content';getPageContent('predeposit.manage.php?action=predeposit_detail_list');" class="btn_submit" /></span>&nbsp;</td>
	    <td style="float:none; text-align:center"></td>
	    <td style="float:none; text-align:center"></td>
	    <td style="float:none; text-align:center">&nbsp;</td>
	    <td style="float:none; text-align:center">&nbsp;</td>
	</tr>
</table>

<script>
$(document).ready(function() {
	
});	


//关闭操作
/* function ajax_close_record(){
	$.ajax({
		url: "predeposit.manage.php",
		data: 'action=',
		type:'post',
		dataType:"html",
		beforeSubmit:  showLoading(showText),   // 提交之前执行的方法
		success: function(msg){
			$("#result_content").html(msg);
			hideLoading();
		}
	});
	return false;
} */</script>